import { BaseIcon, iup } from '../util';
import React from 'react';

export const IUPIcon = BaseIcon;

iup.registerExternal({
    createIcon(iconType, props) {
        return IUPIcon[iconType] ? React.createElement(IUPIcon[iconType], props) : null;
    }
});
